#include "EMU4BICYCLE.h"

int main(void)
{
    INT8U err;

    
    OSInit();
    
    
    OSTaskCreateExt(MassageManager,                                       /* Create the MSG task                                    */
                    (void *)0,
                    (OS_STK *)&AppTaskMassageManagerStk[127],
                    11,
                    11,
                    (OS_STK *)&AppTaskMassageManagerStk[0],
                    127,
                    (void *)0,
                    OS_TASK_OPT_STK_CHK | OS_TASK_OPT_STK_CLR);
    OSTaskNameSet(11, (INT8U *)"MManager", &err);

    OSStart();
    
}

#ifdef  USE_FULL_ASSERT

/**
  * @brief  Reports the name of the source file and the source line number
  *   where the assert_param error has occurred.
  * @param  file: pointer to the source file name
  * @param  line: assert_param error line source number
  * @retval None
  */
void assert_failed(uint8_t* file, uint32_t line)
{
    /* User can add his own implementation to report the file name and line number,
       ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
    
    /* Infinite loop */
    while (1)
    {
    }
}
#endif
